//
//  ViewController.m
//  IOS3
//
//  Created by blue on 15-11-17.
//  Copyright (c) 2015年 zx. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIButton *bth;

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
}
- (IBAction)onclick:(id)sender
{
    UIAlertView * alert = [[UIAlertView alloc]initWithTitle:@"温馨提示" message:@"您点击了按钮" delegate:nil cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil];
    [alert show];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
